<ul class="nav navbar-nav gray-bg">

    {ifp 'user'}<li {if $_W['controller']=='user'} class="active"{/if}><a href="{php echo webUrl('user')}"> 会员</a></li>{/if}

</ul>
